<%@page contentType="text/html; charset=utf-8" %>
<html>
<head>
<title>DWR Test</title>
<script src='/simplewiki/dwr/interface/loginManager.js'></script>
<script src='/simplewiki/dwr/engine.js'></script>

<script type="text/javascript">
<!--
function find(){
	loginManager.find(frmdwr.userId.value, findHandler);
}

function findHandler(str){
	alert(str.name);
}
-->
</script>
</head>
<body>
<form name="frmdwr" method="post">
	UserId : <input type="text" name="userId" value=""/>
	<input type="button" value="find" onclick="javascript:find();"/><br/>
</form>
</body>
</html>